public class Test {

    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            System.out.println("开始测试i");
            if(true){
                System.out.println("开始测试j");
                break;
            }
            System.out.println("haha");
        }
    }
}
